package win.devhu.testing.simple

//kotlin 错误捕获
fun main(args: Array<String>) {
    println("Enter Value For Division" )
    try {
        var n1: Int=readLine()!!.toInt()        //获取用户输入
        var Div: Int=100 / n1
        println("Division is : $Div")
    }catch (ex:Exception){
        println(ex.message)
    }
    println("结束！" )
}